package fr.upstlse.glre.client.vo.depot;

import com.google.gwt.user.client.rpc.IsSerializable;


public class DocumentVOGWT implements IsSerializable
{
    /**
     * The serial version UID of this class. Needed for serialization.
     */
    private static final long serialVersionUID = -5958624870195460611L;

    private long id;
    private String intitule;
    private String description;
    private byte[] contenu;
    private long taille;
    private LibelleVOGWT libelle;
    
    
    
    public DocumentVOGWT()
    {
        this.id = 0;
        this.intitule = null;
        this.description = null;
        this.contenu = null;
        this.taille = 0;
        libelle = new LibelleVOGWT();
    }

    public DocumentVOGWT(long id, java.lang.String intitule, java.lang.String description, byte[] contenu, long taille, LibelleVOGWT libelle)
    {
        this.id = id;
        this.intitule = intitule;
        this.description = description;
        this.contenu = contenu;
        this.taille = taille;
        this.libelle = libelle;
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getIntitule() {
		return intitule;
	}

	public void setIntitule(String intitule) {
		this.intitule = intitule;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public byte[] getContenu() {
		return contenu;
	}

	public void setContenu(byte[] contenu) {
		this.contenu = contenu;
	}

	public long getTaille() {
		return taille;
	}

	public void setTaille(long taille) {
		this.taille = taille;
	}

	public LibelleVOGWT getLibelle() {
		return libelle;
	}

	public void setLibelle(LibelleVOGWT libelle) {
		this.libelle = libelle;
	}
}
